Added helper method to iterate over discovered URLs.