Replaces dangerous syntax with explicit undefineds.