Add support and test cases for Enumerations in C++ and Python.