Replace deprecated methods with ne IOS8 values