Added XmlRootAttribute support.