Get rid of constexpr in rich enum