public function eagerLoader(EagerLoader $instance = null)
    {
        deprecationWarning(
            'Query::eagerLoader() is deprecated. ' .
            'Use setEagerLoader()/getEagerLoader() instead.'
        );
        if ($instance !== null) {
            return $this->setEagerLoader($instance);
        }

        return $this->getEagerLoader();
    }