Adds better XML document headers.