Add in convenience to get mimetype for documents