Automatic registration of fields by passing in the DataObject
that contains the Field