public function setMetadataBag(MetadataBag $metaBag = null)
    {
        if ($this->innerSessionStorage instanceof NativeSessionStorage) {
            $this->innerSessionStorage->setMetadataBag($metaBag);
        }
    }