This has the nice side-effect of reducing string cloning, because we can just pass AvmStrings around instead.