Added factory methods to Response class.