Refactored print utils into its own package.