This compiler pass should do nothing if pim_serializer service is not registered.