Added Trace.Write method