Consolidating use of keys