Bug fix: Now undeclared variables will be avaliable after the scope containing it is resolved