Unit tests and documentation.