Fixed Web API to work with new tornado code!