Add document structure