Added Reads and Writes support for Enumerations. Fixes #2050