Add task.success and task.error