Added a getKeys method