Following the XDI TC's decision to re-introduce the $add and $mod operations, there is some preliminary work on this branch: https://github.com/projectdanube/xdi2/tree/add-mod Need to finish this branch and merge into master.