Added controller class.