Spark has no Generic Client Type