Replaced custom Iteratable interface with java.util.Iterable