Creating a new document type