Had to convert the Iterable to a List for this to compile under JDK7