Rid of deprecated methods of PluginLoader