Add generic iterable version of var