Add trace support.