Support for Java 7 and 8.