Sort out dependency management.