add registerWithRouter flag [#79618142]

Signed-off-by: Nick Wade <nwade@pivotal.io>