Remove duplicate dependencies