They are still adjectives; only their functions have changed-- they have become heads of noun phrases. 'Masses' is a plural noun; it is not an adjective. Adjectives as noun-phrase heads do not inflect for number.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.