Moved base controller methods out into modules.