The beginnings of a serializer.