This will help us reduce some overlong type annotations in `Document`.
This will help us reduce some overlong type annotations in
Document.