Drop unneeded modules