Update to the documentation and test cases.