Why is this a naked function, rather than defining it on `SuffixTree`?