allowing `mapAsFactory` access to the current IsolationContext (via `this`)
and providing access to the poisioned require context via `this.require`