support non-modules in @require

Functions and other objects can be passed, which implies a push when the function is passed to apply.