protected function loadPresets()
    {
        if (!isset($this->presets)) {
            $this->presets = json_decode(
                $this->driverComposite->getFileContent($this->settings['repositoryUrl'], $this->settings['filePath']),
                true
            );
            if (empty($this->presets)) {
                throw new Exception('Could not load presets', 1407782202);
            }
        }
        return $this->presets;
    }