Supposedly fixing yet another elusive API deprecation