private static function fromRamseyUuid(\Ramsey\Uuid\Uuid $uuid)
    {
        return new self(
            $uuid->getFieldsHex(),
            $uuid->getNumberConverter(),
            \Ramsey\Uuid\Uuid::getFactory()->getCodec()
        );
    }