Add keys for history search