Updated several libraries and removed unnecessary ones.