Added support for range based for loops