Changed how diffs are created.