Add functionality to scan for used variables and declare them in the C code.
Add functionality to scan for used variables and declare them in the C code.