Update syntax to Java 7.