cleanup enumeration class