Add the plugin functionality.