Refactor TListOfXYZ.