Use enums when enumerating constants.