The PluginApi and pluginHandler used for both host and ext side plugin functionality