This enum is duplicated both here and in the message. Is there a place it can be shared?