TupleDomain is now a parametric class, so you'll need to adjust accordingly