SPARK-940: Do not directly pass Stage objects to SparkListener.