Improve printing of pattern synonym types