Does this actually work? @jmcphers? I would expect that replacing the `func` defined right here when tracing wouldn't have the desired effect, am I missing something?