Generic types with generic parameters are not supported in globals dictionary