Adding group reference to the message.