public function getPathReducer($name): PathReducerInterface
    {
        if (isset($this->pathReducers[$name])) {
            return $this->pathReducers[$name];
        }

        throw new Exception(sprintf('Path reducer %s does not exist.', $name));
    }