If you have old plastics which had yellowed with time, have no fear! (and don’t throw away good plastic enclosures!).
All you have to do, is to place the plastic enclosure under bright sunlight for couple hours a day. Repeat until the yellow fades back to its original colour!