Made every class implement KryoSerializable instead of an external serializer