Added Tracer class for tracing.