remove unnecessary attr_accessor declarations to attr_reader