Stream support in Java 6.