yes, indeed. For 2.3 this should be changed to use the request_stack