Adding support to parameter Collection in tasks.