change syntax for dynamic enumerations #1088