This is deprecated but we haven't made the switch over to middleware_app.py yet.