for example, I can move this check into `collect_links` call.