public function remove()
    {
        if (isset($this->properties[$this->primaryKey])) {
            $this->exists = false;
            return static::deleteOne($this->client, $this->{$this->primaryKey});
        }

        throw new IdMissingException();
    }