Work on tests and documentation.