Re-add decode_errors to routes.py.