Cleanup some unneeded dependencies.