Improved work with strings.