Integrated changed API of XML document builder.