Use Enums for payload types.