Implement support for enums.
Improve printing of dataset/groups a bit.