APIs to create, update, delete and retrieve traits