Add generated pre-defined globals
Change "unused" option to only warn about unused variables, and not warn about
unused function arguments