Tweak BaseController.