Transitioned to using NSData for sample response instead of a closure.