Enums, my friend. Enums.