Refactor DocCtx and crud operations for hooks prep
Merge remote branch 'origin/master'