Adding stack dependencies