Remove unneeded deprecation method in appium\.js