Remove some replaced old code.