Adding DocType and Document types