Replace attr_accessors