Minor changes to registry.Module.