[ALOY-1017] method and module not passed to create func

Resolves https://jira.appcelerator.org/browse/ALOY-1017 using the same technique as ALOY-830.