Documentation updates

* Added lots of examples in the docs.