Only include helpers if Spark is defined.