Typed serializers