Updating example code and documentation.