Rationalise shell modes.