Remove uneeded dependencies