Refactor _str_ methods