Updated documentation in controller.