Note the galley cars (double deck) required electricity but the E-unit only had a steam generator. Thus the Q added generators to some single level cars as shown here.