Refactor ProcElems to New style