Fixing plugin load ordering issue in the loader and plugin module.