Added better support for loading assemblies by plugins