Add some explaining comments to dictionary code.