Add interface for the DiffPatch class.