Change class_inheritable_accessor to class_attribute