Remove unnecessary generic type reference as per Java 7.