Adding support for uploading activities.