Added a Context class to C# interface for nicer user API