Fixes callback for creating modules.
Merge pull request #4 from Fullscreen/bug/module-creation

Fixes callback for creating modules.