Make source compatible with Java 1.6