change DefaultRouter constructor signature