Simplified way to add new prefixes to the router

It gives the same result, but avoids the array be fully reconstructed on every `Router::connect()` with prefix.