Clean up dependencies.