In script files, like bash or python, code can be at global scope.
Worse is this code can be scattered around anywhere -- like inbetween class and function definitions.
The only way to make it visible in "defs", is to show statements.
But then, defs is way too cluttered.
Showing such code as "unnamed" functions would be pretty useful.