Added stream classes to be used by XML configuration writer.