suppressing some generics warnings uncovered with -Xlint:unchecked