Adjust applicability of some optimizers for unsafe string access.
Get rid of misnomer "extended-string".