Updated jsDoc for the plugin-api