Source code examples from blog.