Fix serializer resolving.