Adding dependency on spark.