Made MemoryTraceBuilder internal for core. Users are agnostic of concrete type