Group up strings into classes and reuse them.