Move the common data into the defs file.
This is mainly the extra classes/extra themes and the stylesheets.