Updated SanitizeHelper to use the updated API in the sanitizers.