Use attr_accessor for value rather than method