oops, can't assume cfg.loaded in newRouter..