Added getter and setter for the keys and values attribute.