Cleanups and documentation for scanner.acceptance