public function newInstance($name)
    {
        $name = ltrim($name, '\\');
        if (! $this->has($name)) {
            throw new UnexpectedValueException($name);
        }
        return call_user_func($this->callables[$name], $this);
    }