remove dependency on JavaTuples