Updated example plugin to match new parameters and return definition.