Typed Factory added in C# version