Missing generic parameter; problematic for Java 1.6