Adding document type resourse.