Callback for returning diffs