Added various ctor overloads and helper functions to make document creation easier.