Cleaning up console log messages.