Maintain enum compatibility