Simpler way of adding keys.