Nicer configuration of tasks in a task type class.