Adds dependencies.