Added a way to pass in parameters that initialize the controllers.