Reduce dependencies to what the package says it needs.