Work on API docs and tests.