 However, this livery was not applied to the M7 class, which were black with sunshine lettering shaded green.The numbers also lost their "E" prefix.During the war years the locomotives were outshopped in wartime black after overhaul, and some of the class retained this livery to nationalisation.