No longer put hasread in train + rename resetstate to reset in datastream