Fixed function call in trace snippets.