Updating tests and API documentation.