Add name field to API