Adding documentation and examples.