Moving `list` to new function interface
Updating remaining pair and list functions to have new function interface