Use class_attribute for inheritance