Fixing attr_accessor