Adding a type field to the speak api