Adjusting logic to declare Arrays as global dependencies