Added some more functionality to Response class.