Cleanup.

These events are triggered on search plugins.