Crazy weird hacks for caching with Variables.