Fix deprecation default scope