Use attr_reader for value rather than method