Fixed name collision and covariance issue with C#.