Moved setRequest to the config.