Changing the type of the base URL to NSString, no need to hack URLs internally