Why not make a new AbstractTask constructor that takes a task id and task group, and sets the availability group equal to the task id?