Removed unneeded methods in Controller class.