Added WSGI support