Reverted changes for document type