Remove unused modules and themes.