Extract annotations passed into task_add