Added generation of ins/outs in tasks