Document types model