Pyspark4

Fix serialization issues.