Add task callbacks