add enum management in class and enum description