Move this logic into ```databox_field``` class