let the plugin use the new built-in event dispatcher