Initialized the plugin class.