Updated to exclude host and port.