protected function getStorage($name)
    {
        if (!array_key_exists($name, $this->storages))
        {
            throw new StorageDoesNotExistException('Invalid storage name: '.$name);
        }
        
        return $this->storages[$name];
    }