Remove some code that doesn't make much sense.