Test fixups and some docs.