Add class_name and entity_data.