Change the way controllers are defined.

As done in the rest of the app.