``$controller`` can be a callable, not necessarily a string