Add eos? and terminate method stubs in scanner.