Remove unused methods.

The only client of these methods was removed in 669898bf57b75a9d1f06a161045d4dcaca13f10d.