Add basic tracing support