Fix deprecated import of URL functions