Use attr_reader instead of attr_accessor