Implementing the plugin.