Implement register tracing