Cleanup module loading code.