Implemented basic URI resolution.