Added getKeys method