Moving logic away from the Request constructor.