Remove deprecations.

I just saw that they were not used anymore at all and there were no tests for it.
And untested functionality is probably pretty easy to break anyway.