Use Java 1.6 for better compatibility.
Remove unused import.