Updated dependencies and now using tuple indexing.