The `Diff` class is mutable and hence not thread safe. There's nothing in the way to make it immutable since its instances are essentialy data objects.