Well, the method isn't deprecated, only arguments are. I don't have the best solution to manage this.