Wrote documentation, a test, added a mailmap.