Change deprecation warning to show more common usage