Move stuff around to try and make WSGI work.