Complete Controller class.