Updating example to take advantage of new functionality.
Updating example to take advantage of new functionality.