Polishing off sample code for article.