New documented interface for tracing.