Add anchors to messages