Brainstorming a bit, but is it feasible to set a `---strict` flag that will stop on error? It would require a minor chance in cli.py (stop if `unknown` is not empty) and in document.py (I'm not sure if changing `do_not_stop` is enough)