public function getPrecedence(string $name)
    {
        if (!isset($this->search_path[$name]))
            throw new \InvalidArgumentException("Unknown module: " . $name);

        return $this->search_path[$name]['precedence'];
    }