Move GC tracing into a separate trace class