Convert stream info to class.