Use static const instead of enum