Better error handling around bad documents.
Improve docs around setting up dev env.