Remove unused external dependencies.