Fixes aot tracing; example for class compilation