Add trace for debugging.