Avoid creating multiple instances of ClassLoader.
Merge pull request #2680 from ADmad/3.0-plugin-loading

Avoid creating multiple instances of ClassLoader.