Anagram subclassing