* Add setResponse function.