let the ModuleHandlerResolver determine the ModuleType automatically