use SMTaskRef for tasks.