Scanner implemented.