Added support for assigning teams to a task