Update PluginHelper mock to reflect slight change in the API.