Moved setRequest to config.