Fix generics warning.