Implement another form of append, and move functions a bit so they are in the same order (xml, element, Q, map to xml function, map to element function, map to Q function).