Added debug info about messages.