Remove unused code.

None of this code was hit under the unittest.
Hopefully obsolete.