Add task definition