Added query and fragement to the url class.