Allow enum() function to access the current item
Merge pull request #6 from tsufiev/enum-improvement

Allow enum() function to access the current item