:#18 Removed globals.h dependency from scanner