pruning dead code

I did some source diving and couldn't find where any of this code was
used, so I'm suggesting it be removed.