Adding more tests, examples and documentation.