Looks like I fixed Tuple.java, still needs more testing though