Added possible to get mimetype for document content.