Make some variables conditional when TRACE_ENABLED. Otherwise unused.