Disable deprecation warnings in web server.