Spark template complete.