public function create(array $task, array $options = array())
  {
    $attributes = array_intersect_key($task, array_flip(self::$keysToPersist));

    list($code, $createdTask) = $this->httpClient->post("/tasks", $attributes, $options);
    return $createdTask;
  }