Make next_grapheme_length private