bugfix: handle enums with a single value; updated enum specs