Implement the Curl class.