DO NOT MERGE (patching wsgi core detection)