Refactoring string_t.