Add userfield attribute to XML fields.