Use instance of PluginResult in callback.