Reworked document structure.