Make require available for invoke.
Issue #1 resolved