Add config.eager_load as suggested to deal with deprecation warning