Attribute definition order preserved in generated form, refs #41