Search cleanup.