Protect twice against arbitrary code_paths.