Support deleted documents. Improve outdated schema handling.