Do not include global variable when serialize closure
Add boolean literal