Modify PluginInterface to use promises on server