Added some comments to the example.