SharedString type + tests.  Better documentation.