Implement default type parameters in generics.