Fixes #6190: Add print utility classes