Remove unused dependencies from core