addAttributes

Adds other attributes based on existing attributes in the message.