removed: factory method fromStream; use from instead.