Add the remove dependency action and update routes related to dependencies.