add class_eval attr_accessor