New serializers/deserializers, plus class info factory.