Changed getSparkVersion signature to omit the parentheses