Changin Scanner extension to be similar to C++ default