There are a whole lot of function variables that aren't declared local, and some of our conditionals could probably still use unsets at the end.