public function getSection($section, $default = -1)
    {
        // Return if section is defined.
        if (isset($this->config[$section])) {
            return $this->config[$section];
        }
        if ($default !== -1) {
            return $default;
        }

        // Find the default value (in default configuration definitions).
        $defaultClass = new \ReflectionClass(DefaultConfiguration::class);
        return $defaultClass->getStaticPropertyValue($section, null);

    }