Use anonymous enumerations instead of constants