public function removeConfig(ConfigInterface $config) {

        // If collection is in merge mode, don't permit removing configs (cannot unmerge)
        if ($this->merge) {
            throw new Exception("Cannot remove configs from merged collection.");
        }

        $this->configs->detach($config);

        return $this;
    }