Fix StackOverflow for methods returning a response object