Clean up the plugin.