Fixing interface for parsing streams and strings.