Added send method which also sets app_id.