Fix regression introduced by api change (iterator -> iterable)