added DocUtils for various document-related operations.