Prettier structure for the scanner.