Expose response object to callback