type_name renamed to class_name