More robust for in-memory streams
Renamed to ASDF.