pub type DocumentStreamPtr = UniquePtr<document_stream>;