public function setPrecedence(string $module, int $precedence)
    {
        foreach ($this->resolvers as $type => $resolver)
        {
            try
            {
                $resolver['resolver']->setPrecedence($module, $precedence);
            }
            catch (\InvalidArgumentException $e)
            {} // Not all resolvers may contain this module
        }

        $this->modules[$module]['precedence'] = $precedence;

        // No longer sorted, probably
        $this->sorted = false;
        
        return $this;
    }