Cleanup some modules and libraries.