You should check if module is in registry.