Changes:
- Enum now enforced as primitive data type
- Added extension to convert from/to XML