Added ControllerMethods class.