Attempt to import a type's module only if there's at least one dot-separated name to import, for performance.
Update submodule.