Preliminary XMLStream class.