Use PluginResult rather than success/fail