RouterFactory: changed to static