Improved module loading mechanism.