Update tests and documentation.