Add return statement
Check local variable at compile time
Add native function call
Add RET opecode to the last