Remove obsolete theme variables.