Allow instance of iterator in addRoutes