Added ability for view to modify the response before it is sent.