Implemented URI writing feature.