Migrating to Java 8.