protected function removeExtraKeys()
    {
        foreach ($this->extraKeys as $offset => $value) {
            if ($this->data[$offset] === null) {
                unset($this->data[$offset]);
            }
        }
        $this->extraKeys = [];
    }