Spyglass: Added code to scan all namespaces for variables.