Adds XML utility methods.