Eliminate wildcard dependencies