Set compatibility toJava 6