Added more helper methods to DiffUtils.java