* Change use of #attr into #attr_reader and #attr_accessor to keep up with Ruby API changes and avoid noisy warnings.