Cast URL to string.