Added enumerator function.