public boolean isLast() {
   return index == ref.getVersions().size() - 1;
 }
 @Override
 public String toString() {
   return ref.getVersions().get(index);
 }