Enums start from 0 for external compatibility