Use Path and Query bjects into Url class