add module and define (or undefined) to invocation call.