public function set($key, $value, $package = null)
    {
        if ( ! is_null($package)) {
            $this->setForPackage($package, $key, $value);
            return $this;
        }
        $mainConfiguration = $this->mainConfiguration;
        Arr::set($mainConfiguration, $key, $value);
        return $this;
    }