Adding static factory method for creating Diff instances.