Remove dead code.

The fragments of code seem to be dead.