Merge "Refactor network retrieval API calls."