I don't think you should be recording Upvars as variable references and I'm not sure about Bindings. But I might be wrong - convince me :-)