Appends the dependencies.