Cleanup of controllers.