I'd recommend keeping this in `warn_deprecation` and not adding an override of `warn`.