Use accessor method when accessing the values hash

Small change to use accessor method when setting/retrieving values. This allows for easily adding custom functionality via override on the `values` method.