Support for Spark 1.0.0.