Removed 'flag' from the scanner pkg; it will be used by code importing scanner instead