Use Java 6 generic type declaration