(Maint) Fix deprecation message to point to the right alternative