Add support for upload/download of the context.