Removing extraneous messages.