Partial support for generic types