Allow specifying a view as a Require dependency or function reference