Use custom serializer.