Consider using namedtuples for this