Support Java 7