Added Reads and Writes support for Enumerations. Fixes #2050

Sorry, I don't quite get what you mean?