public function set($name, $value, $shouldReplace = true)
    {
        $name = $this->normalizeName($name);
        $value = (array) $value;

        if ($shouldReplace || !$this->has($name)) {
            parent::add($name, $value);
        } else {
            parent::add($name, array_merge($this->data[$name], $value));
        }
    }