New tests and documentation.