Excluding duplicate dependencies