Bug: Name_stack was never cleaned.
Fixes #1