Added Trace.Write method to Shim