Generalize key