Compatability with Java 1.6.