Remove unrequired deps.