Fix serializer.