Refactor all_urls_resolve?