Updated: code examples in documentation.