Remove SafeNotebookDocument API compat wrapper class
#16570
Merged
SafeNotebookDocument API compat wrapper class
#16570