Improve output print statements.