Stop using newly-deprecated method