Remove unnecessary projects.