Keep JDK 1.6 compatible.