Remove unrequired packages