Add missing generic type parameters.