protected function loadDependencies() /*: void*/
    {
        if (!$this->validate) {
            $this->validate = Validate::getInstance();

            if (!$this->config) {
                // Use enviroment variable wrapper config class if exists;
                // fall back on empty sectioned map.
                try {
                    if (class_exists('\\SimpleComplex\\Config\\EnvSectionedConfig')) {
                        $this->config = call_user_func('\\SimpleComplex\\Config\\EnvSectionedConfig::getInstance');
                    } else {
                        $this->config = new SectionedMap();
                    }
                } catch (\Throwable $ignore) {
                    $this->config = new SectionedMap();
                }
            }
            if (!$this->unicode) {
                $this->unicode = Unicode::getInstance();
            }
            if (!$this->sanitize) {
                $this->sanitize = Sanitize::getInstance();
            }
        }
    }