Reduce duplication in docs and fix typos.