removeAttributes

Removes attributes from a message.