refactor(docmanager): replace deprecated new_doc, getTdoc, - part 3 - (fixes #2785)

...efs #2785)