Auto-import loaded modules

This is the auto imported of modules that were loaded outside of the current module.