using DocumentModel everywhere