PR cleanup, docs, and tests.