Fix generics.