Add documentation and examples.