Add a controller class.