refactor(thesaurus): Use new API from DocManager (refs #4700)