Changes to allow enable/disable of the plugin.