Fixed an bug with BaseUrl not getting set.