Converts a Document to an object of type T by filling its fields with the Document's elements.
See Implementation
Converts a Document to an object of type T by filling its fields with the Document's elements.