Rework the printing stuff.