Router::matchNext() method added