Remove some dodgy code.