Make Java 7 compatible.