Update mocks for PluginHelper API change.