Added a few useful methods to DiffUtils.java