By setting `singleton=True` and `strict=True` in ModuleLoader config , you can know unexpected initializing ModuleLoader instance.
python
Strict mode
ModuleLoader.set_setting(singleton=True, strict=True)
Initialize as singleton object
loader_a = ModuleLoader()
loader_b = ModuleLoader()
assert loader_a is loader_b
Raise exception
loader_c = ModuleLoader('/tmp')
-> autoload.exception.LoaderStrictModeError: Now singleton setting. You have already initialized object that has some attributes. Please check constructor variables.