public function add($route, $handler)
    {
        if (trim($route) === '') {
            $token = null;
        } else {
            $token = $this->tokenizer->createToken($route);
        }
        $route = new Route($token, $handler);

        $this->routes[] = $route;

        return $route;
    }