Replace method Str::str() with Str::tos()