Instrumenter: Accept ASTs as well as strings.