Changed to match simplehttp changes.