Part of telem and dfmem refactor. Branches are going to be convolved.