protected function loadDependencies(RecordSelector $selector)
    {
        if (empty($this->dependencies)) {
            return $selector;
        }

        foreach ($this->dependencies as $dependency) {
            $selector = $selector->with(
                $dependency->getRelation(),
                $dependency->getOptions()
            );
        }

        return $selector;
    }