Telem pack function changed to take special telem struct type directly.