Updated example and documentation - prepared for release of version 2.0.0 of the API.