Add setStatus to response object in platform