Simplify generics.