Added Xml stream class.