Added a tracing callback for views