Fix unused code paths.