Adding URI parsing code.