Fix insertion for fields that stores values in class definition, not in database