Added tracing callback for higher level invocations