Return a namedtuple instead of a tuple.