Hm I think I'll just go with having both SparkContext and SparkConf as arguments. Either is not very pretty IMO.