public function create(array $deal, array $options = array())
  {
    $attributes = array_intersect_key($deal, array_flip(self::$keysToPersist));
    if (isset($attributes['custom_fields']) && empty($attributes['custom_fields'])) unset($attributes['custom_fields']);
    if (isset($attributes['value'])) $attributes["value"] = Coercion::toStringValue($attributes['value']);
    list($code, $createdDeal) = $this->httpClient->post("/deals", $attributes, $options);
    if (isset($options['raw']) && $options['raw']) {
      return $createdDeal;
    }
    $createdDeal = $this->coerceDealData($createdDeal);
    return $createdDeal;
  }