Modify serial messages.