Added model.config to avoid errors