Rip out scanners, has_flag.