Use a namedtuple for get_all()