public function save(array $options = [])
    {
        $response = $this->collection->getKuzzle()->query(
            $this->collection->buildQueryArgs('document', 'createOrReplace'),
            $this->collection->getKuzzle()->addHeaders($this->serialize(), $this->headers),
            $options
        );

        $this->id = $response['result']['_id'];
        $this->version = $response['result']['_version'];

        return $this;
    }