Improve message printing.