Fixed #19605 - Removed unused url imports from doc examples.

Thanks sergzach for the suggestion.