Removes console messages.