Only list global variables (fixes #118)