Initialize URL type before conversion