How about adding a "ports" property to the Router class so we don't have to build this chain here?