In ContentClosure constructor, take uriName instead of uriEndsWithSegmentNumber.