Renamed Type to TrainType