Change router parameter type to be RouterInterface instead of Router to ...

...support other routers