mask deprecation warnings (when knowingly triggering them)