public function getConfig(string $id): Config
    {
        // TODO: Use null coalescing assignment operator.
        $this->configs[$id] = $this->configs[$id] ?? $this->registerConfig($id);

        return $this->configs[$id];
    }