Add docs, fix a couple of typos.