Heed deprecation warning