public function maybeUnserialize($value)
    {
        if ($value && $this->isSerialized($value)) {
            if (mb_strpos($value, $this::CLOSURE) === 0) {
                return $this->unserializeClosure($value);
            } else {
                return unserialize($value);
            }
        } else {
            return $value; // Not applicable.
        }
    }