public function delete($name)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($path) {
            if ($this->checkCache($key) && $this->cache[$key]->delete($path)) {
                return $this->updateRecord($key);
            }
            return false;
        }

        unset($this->cache[$key]);

        return $this->deleteRecord($key);
    }