Updated the plugin to the new interface.