Fixed the context of the route handlers to be the controller it's from.