Passing in the request to fix 4.1 compatability as the Request typehint was not working for some reason