Initial work on Scanner.