Enforce Java 6 compatibility