Remove bits of unused code.