Added some code examples to show how to use it.