You should use PluginResult rather than calling success. All of the other extensions have been converted to do so.

We will be removing success/fail from the signature soon.