Remove some outdated code.

Some things we found during the opaque-keys project and should get rid of.

Two of: @flowerhack @sarina @cpennington @dmitchell @nasthagiri