Remove unnecessary message part.