protected function setParam($type, $index, $value, $override = false) {
        if ($override) {
            $this->{$type}[$index] = $value;
        } else if (!isset($this->{$type}[$index])) {
            $this->{$type}[$index] = $value;
        }

        return $this;
    }