Support for generic types.