Adding more methods to the controller and model.