rename the first argument of `_loadModule` to `moduleType` to match the javascript