required flags for documents and sections