public function setStorage($storage, $options = null) {
        if (!$storage instanceof Storage\StorageInterface) {
            $storage = $this->getStoragePluginManager()->get($storage, $options);
        }
        $this->storage = $storage;
        return $this;
    }