Saving type->fields