Cleanup dead theme code