Additions to C# file