Improving namedtuples (keeping the class name)