Updated docs for `Str` class and added more functions.