Add trace related documentation.