Adding new document type
Fixing regexp