Adds more flexible diffs method to Viewer