Clean up examples & add comments.