Added range-based for loop support in option arrays