Outsourced all messages printed to the console.