Process closures in global scope like ordinary functions. Fixes #185.