Removing functions

I don't really know what they are used for, but I don't see any use for
them. That qualifies them as dead code and exposes them to the garbage
collector.