Write tuple getters (and test them, exposing memory leak)