Add class_attr in fields that were missing it.