add a decoration for enumerated types