Initial support for nested generic types