Fix to method call for scanner.