Trim messages added externally