Adding general document structure