Complex sentence: No.42 was rebuilt in 1901 with a cab which enclosed the safety valves that now exhausted through the cab roof.
Split into simpler sentences: No.42 was rebuilt in 1901 with a cab. This enclosed the safety valves which now exhausted through the cab roof.