def __new__(cls, value=0, name='', parent=None):
    """Return integer instance with additional attributes."""
    instance = int.__new__(cls, value)
    instance.name = name
    instance.parent = parent
    return instance
