Fix misinformation in deprecation warning