updated stream classes.