Added support for Apache Spark