nsdReplaceWith function in the router application.