Actually take that back it is because of Java 8 forEachEntry method that defines it in this way :(