[Memory] Don't keep these variables in scope forever.
[Memory] Don't keep these references on cleanup.

We leak Documents and stuff.