Add an AddMask method to the persistence API