def METHOD_NAME(custom_pickled):
    """Customized object deserialization.
    This function is referenced internally by `custom_reduce()`.
    """
    cls, states = custom_pickled.ctor, custom_pickled.states
    return cls._rebuild(**states)