Add class_attribute instead of cattr_accessor