Complementary fix for the theme activation warnings. #48