Implement curl.