Adding support for reduction of common string (shared strings).