-Generated api for Dialog and Word