Changed FieldDefn functions to attributes.