Fix: remove wrong deprecated method

I don't know why, after merging two pull requests there was a wrong deprecated method. Perhaps I forgot to remove it.