Added function for unloading all plugins.