Remove unneeded themes.