delete two unused functions

These two functions are completely unused, as far as I can see.
The only possibility is an outside project importing them.

I don't believe they're part of documented interface though, so this should be fine.