Use a namedtuple.