Adding support for curl.