fix Issue 10628 - spurious "hidden by" deprecation warning