Fix multiple attr_accessor and attr_reader calls