Fix Java 7 rawtype warning.