Fixed return types for Scanner & Parser classes.
Fixed return types for Scanner & Parser classes.