It's rough to remove these without logging a real DeprecationWarning. I don't know how you'd do that with imports, but I bet werkzeug/flask have figured that out.