We want to avoid directly passing DAGScheduler data structures to the Listener, in case they change.