Add the ability to limit the amount of contained resources that a recursive plant or unplant will be performed on.