Remove code shown to be dead by test coverage.