def __new__(cls, *args, **kwargs):
    """Save original class so decode() returns an instance of it."""
    original_class = kwargs.pop('original_class')
    combined_args = [cls] + list(args)
    instance = bytes.__new__(*combined_args, **kwargs)
    instance.original_class = original_class
    return instance
