Pass the type and not the field name. This allows greater control in the printing function.