Fixed autoloading error on eager loading.