Fix mmd in C#.