makes it possible to change the request class