Add some missing methods to StringMixIn.