Some methods of the controller class implemented.