Updated response creation to use new response api.