Added support for the i variable in ins/outs of a task