public function route($name, $uses)
    {
        if (in_array($name, $this->reserved)) {
            throw new InvalidArgumentException("Unable to use reserved keyword [{$name}].");
        } elseif (Str::contains($name, '/')) {
            throw new InvalidArgumentException("Invalid character in resource name [{$name}].");
        }

        $this->attributes['routes'][$name] = $uses;

        return $this;
    }