findDocByUid() is now used by the main application.