Expose mechanism in SparkContext as developer API