Add auto-fields to xform structure.
Remove dead tests.