added support for router_type