Added uploading and cancelling of upload requests.