Split the controller context from the controller class declaration.