Allows to change the module loading behavior.