Introduce traced partial function to better test the visitor macro