Support for Java 6