Add method to unload a plugin and it's dependencies