Introduced Document.Container which provides a flattened view for nested nodes.