Finish upgrading dependencies and organize them.